﻿<%_.each(Messages,function(message){%> 
    <li data-sender-id="<%=message.UserId%>">
        <img src="@Url.Content("~/Uploads/")<%=message.Avatar%>" />
        <div class="user-message-discriptin">
            <label><%=message.Login%></label>
            <div class="message-users">
                <p><%=message.Message%></p>
            </div>
            <label>Date of send:</label><p><%=message.DateOfSendToString%></p>
            <label>Date of read:</label><p><%=message.DateOfReadToString%></p>
        </div>
    </li>
<%});%>
    